package _22_guanchazhe_pattern.v_common;

import java.util.Observer;

/**
 * @Description:
 * @Auther: zhang.jy
 * @Date: Created in 2019年06月06日 15:59
 * @Copyright wonhigh.cn
 */
public class Client {
	public static void main(String[] args) {
		Observer lisi = new LiSi();
		HanFeiZi hanFeiZi = new HanFeiZi();
		hanFeiZi.addObserver(lisi);
		hanFeiZi.haveBreakfast();
	}
}
